﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace TbaStarTest
{
    public partial class Form1 : Form
    {
        private TileMap tileMap;
        bool goalFound = false;

        public Form1()
        {
            InitializeComponent();

            tileMap = new TileMap();
            tileMap.InitializeAstar(new Point(1, 1), new Point(19, 1));
        }

        private void buttonIncrement_Click(object sender, EventArgs e)
        {
            //if (!goalFound)
            //    goalFound = tileMap.ContinueAstar(1);

            tileMap.TbaStar();
        }
    }
}
